package hqu.cst.xah.service;

import hqu.cst.xah.pojo.Product;

import java.util.List;

public interface ProductService {
    List<Product> getAllProducts();
    Product getProductById(Long id);
    void insertProduct(Product product);
    void updateProduct(Product product);
    void deleteProduct(Long id);
}
